

public class Person {
	private String name;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Fruit buy(Market market,String fruitName,int holdTime,double fruitPrice, double buyFruitAmount){
		return  market.sell(fruitName, holdTime, fruitPrice,buyFruitAmount);
		
	}
}
